<?php namespace App;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

/**
 * App\ActiveVotes
 *
 * @property int $id
 * @property int $user_id 用户id
 * @property int $active_id 被投票人id
 * @property int $vote_num 投票数量
 * @property string|null $deleted_at
 * @property \Carbon\Carbon|null $created_at
 * @property \Carbon\Carbon|null $updated_at
 * @method static bool|null forceDelete()
 * @method static \Illuminate\Database\Query\Builder|\App\ActiveVotes onlyTrashed()
 * @method static bool|null restore()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ActiveVotes whereActiveId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ActiveVotes whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ActiveVotes whereDeletedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ActiveVotes whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ActiveVotes whereUpdatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ActiveVotes whereUserId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ActiveVotes whereVoteNum($value)
 * @method static \Illuminate\Database\Query\Builder|\App\ActiveVotes withTrashed()
 * @method static \Illuminate\Database\Query\Builder|\App\ActiveVotes withoutTrashed()
 * @mixin \Eloquent
 */
class ActiveVotes extends Model
{
    protected $table ="active_votes";
    use SoftDeletes;
}